<template>
  <div class="editPanelContainer">
    <div v-for="(item, key) in com.status" :key="item.id" class="mb-20">
      <component :is="item.editCom" v-if="item.isShow" :config-key="key" v-bind="item" />
    </div>
  </div>
</template>

<script setup lang="ts">
import { Status } from '@/types'
defineProps<{
  com: Status
}>()
</script>

<style scoped>
.editPanelContainer {
  padding: 30px;
  border-color: var(--bg-color);
}
</style>
